<%@ Page Language="C#" AutoEventWireup="true" CodeFile="InventoryOption.aspx.cs" Inherits="Main_Inventory_InventoryOption" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControl" %>
<%@ Register Src="~/User Controls/PageHeading.ascx" TagName="heading" TagPrefix="acc" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>     
    <link href="../../../Styles/accounts.css" rel="stylesheet" type="text/css" />
    <script src="../../../JavaScript/prototype.js" type="text/javascript"></script>
    <script src="../../../JavaScript/myTabz.js" type="text/javascript"></script>
    <link href="../../../JavaScript/myTabz-vertical.css" rel="stylesheet" type="text/css" />
    <link href="../../../JavaScript/main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
	    var ActivateTabs=function(){	
				if(typeof(MT)=='undefined'){
				    var MyTabs = new mt('tabs', 'div.my_tab');
				    MyTabs.addTab('TMaintain', 'Module');					
					MyTabs.addTab('TFeature','Features');
					MyTabs.addTab('TItem','Item');
					MyTabs.addTab('TTransaction','Transaction Settings');					
					MyTabs.addTab('TValuation','Valuation Method');
					MyTabs.addTab('TPriceGroup','Price Group');	
					MyTabs.addTab('TBatch','Batch');
					MyTabs.addTab('TGMethod','GL Allocation Method');
					MyTabs.addTab('TRoundOff','Round Off');
					MyTabs.addTab('TCaption','Edit Caption');
					MyTabs.addTab('TAlert','Set Alerts');							
					MyTabs.makeActive('TTransaction');
					}
	    }
    </script>

</head>
<body onload="ActivateTabs('tabs');">   
 <form id="form1" runat="server">
    <AjaxControl:ToolkitScriptManager ID="tsm" runat="server" EnablePartialRendering="true"></AjaxControl:ToolkitScriptManager> 
   <div class="divmain">   
  <acc:heading ID="pagehead" runat="server" HeadingText="Inventory Setting" />
    <div id="tabs" style="margin-left:5%; width:750px; height:404px;">
	    <div id="TFeature" class="my_tab" style="height:310px; width:70%; ">
	        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                <ContentTemplate>		
		            <div style="margin-top:10px;">
		                <table style="font-size:12px; margin-top:10px" width="100%" class="tablecontent">
		                    <tr>
		                        <td colspan="2" class="headtd">		               
		                            Features
		                        </td>
		                    </tr>
		                    <tr>
		                        <td>
		                            <asp:CheckBox ID="chkUpdateStock" runat="server" Text="Update Stock in Accounts" />
		                        </td>
		                        <td>&nbsp;
		                        </td>
		                    </tr>
		                    <tr>
		                        <td>
		                            <asp:CheckBox ID="chkEnableVAT" runat="server" Text="Enable VAT E-Return" />
		                        </td>
		                        <td>&nbsp;
		                        </td>
		                    </tr>
		                    <tr>
		                        <td>
		                            <asp:CheckBox ID="chkEnableTCS" runat="server" Text="Enable TCS" />
		                        </td>
		                        <td>&nbsp;
		                        </td>
		                    </tr>
		                    <tr>
		                        <td>
		                            <asp:CheckBox ID="chkEnableTimber" runat="server" Text="Enable Timber Inventory" AutoPostBack="True" oncheckedchanged="chkEnableTimber_CheckedChanged" />
		                        </td>
		                        <td>
		                            <a href="" >Show Timber Settings</a>
		                        </td>
		                    </tr>
		                    <tr>
		                        <td>
		                            <asp:CheckBox ID="chkEnableLocation" runat="server" Text="Enable Location" />
		                        </td>
		                        <td>&nbsp;
		                        </td>
		                    </tr>
		                    <tr>
		                        <td>
		                            <asp:CheckBox ID="chkEnableBOM" runat="server" Text="Enable Bill of Material (BOM)" AutoPostBack="True" oncheckedchanged="chkEnableBOM_CheckedChanged" />
		                        </td>
		                        <td>&nbsp;
		                        </td>
		                    </tr>
		                    <tr>
		                        <td>
		                            <asp:CheckBox ID="chkEnableCENVAT" runat="server" Text="Enable CENVAT" />
		                        </td>
		                        <td>
		                            <a href="" >Show CENVAT Information</a>
		                        </td>
		                    </tr>		        
		                </table>		
		            </div>
		            <asp:Panel ID="PanelBOM" runat="server" Width="100%" Enabled="false">
		                <div style="margin-top:10px; height:70px" class="tablecontent">
		                    <div class="headtd">Bills of Material Settings</div>
		                    <div style="margin-top:10px">  <asp:CheckBox ID="chkAutoJrnlSale" runat="server" Text="Create Auto Journal for Sales" /> </div>
		                </div>
		            </asp:Panel>
		        </ContentTemplate>
            </asp:UpdatePanel>	
	    </div>
	    <div id="TItem" class="my_tab">
	        <div style="margin:10px 0px 10px 0px">
		        <table style="font-size:12px" class="tablecontent">
		            <tr>
		                <td class="headtd">		               
		                    Item Settings
		                </td>
		            </tr>
		            <tr>
		                <td>
		                    <asp:CheckBox ID="chkItemCode" runat="server" Text="Item Code" />
		                </td>
    		           
		            </tr>
		            <tr>
		                <td>
		                    <asp:CheckBox ID="chkAltUnitItem" runat="server" Text="Alternate Units for Items" />
		                </td>
    		            
		            </tr>
		            <tr>
		                <td>
		                    <asp:CheckBox ID="chkUPS" runat="server" Text="UPS/HSN/SKU Code" />
		                </td>
    		            
		            </tr>
		            <tr>
		                <td>
		                    <asp:CheckBox ID="chkAddDescription" runat="server" Text="Additional Description" />
		                </td>
    		            
		            </tr>
		            <tr>
		                <td>
		                    <asp:CheckBox ID="chkAltDescription" runat="server" Text="Alternate Description" />
		                </td>
    		            
		            </tr>
		            <tr>
		                <td>
		                    <asp:CheckBox ID="chkRemark" runat="server" Text="Remarks" />
		                </td>
    		            
		            </tr>
		            <tr>
		                <td>
		                    <asp:CheckBox ID="chkBinReference" runat="server" Text="Bin Reference" />
		                </td>
    		            
		            </tr>		        
		        </table>
		    </div>
		  		
	    </div>
	    <div id="TTransaction" class="my_tab">
	     <div class="tablecontent" style="margin-top:10px; width:100%; height:180px;">
	            <div class="headtd" style="width:100%; height:18px">Transactions</div>
	            <div style="float:left; width:150px; height:100px; margin:10px 10px 0px 5px" class="tablecontent">
	            <table style="font-size:12px; width:100%">
	                <tr>
	                    <td class="headtd">
	                        Inward
	                    </td>
	                </tr>
	                <tr>
	                    <td>
	                        <asp:CheckBox ID="chkDCInward" runat="server" Text="Delivery Challan" />
	                    </td>
	                </tr>
	                <tr>
	                    <td>
	                         <asp:CheckBox ID="chkPurInvoice" runat="server" Text="Purchase Invoice" Checked="true" Enabled="false" />
	                    </td>
	                </tr>
	                <tr>
	                    <td>
	                        <asp:CheckBox ID="chkPurReturn" runat="server" Text="Purchase Return" />
	                    </td>
	                </tr>	        
	            </table>	    
	        </div>	
	        <div style="float:left; width:150px; height:100px; margin:10px 10px 0px 0px" class="tablecontent">
	            <table style="font-size:12px; width:100%">
	                <tr>
	                    <td class="headtd">
	                        Outward
	                    </td>
	                </tr>
	                <tr>
	                    <td>
	                        <asp:CheckBox ID="chkDCOutward" runat="server" Text="Delivery Challan" />
	                    </td>
	                </tr>
	                <tr>
	                    <td>
	                         <asp:CheckBox ID="chkSaleInvoice" runat="server" Text="Sales Invoice" Checked="true" Enabled="false" />
	                    </td>
	                </tr>
	                <tr>
	                    <td>
	                       <asp:CheckBox ID="chkSaleReturn" runat="server" Text="Sales Return" />
	                    </td>
	                </tr>	        
	            </table>	    
	        </div>
	        <div style="float:left; width:150px; height:100px; margin:10px 10px 0px 0px" class="tablecontent">
	            <table style="font-size:12px; width:100%">
	                <tr>
	                    <td class="headtd">
	                        Others
	                    </td>
	                </tr>
	                <tr>
	                    <td>
	                        <asp:CheckBox ID="chkJournal" runat="server" Text="Journal" />
	                    </td>
	                </tr>	 
	                 <tr>
	                    <td>
	                        <asp:CheckBox ID="chkPurchaseOrder" runat="server" Text="Purchase Order" />
	                    </td>
	                </tr>	 
	                 <tr>
	                    <td>
	                        <asp:CheckBox ID="chkSalesOrder" runat="server" Text="Sales Order" />
	                    </td>
	                </tr>	                    
	            </table>	    
	        </div>	    
	        <div style="clear:both;"></div>
	        <div style="margin-top:10px; margin-right:20px;" align="right" >
	            <table style="font-size:12px">
	                <tr>
	                    <td>
	                        <a href="../TransactionFormat/TransFormat.aspx">Create Transaction Format</a>
	                    </td>
	                </tr>
	            </table>	        
            </div>
        </div>
        <div class="tablecontent" style="margin-top:20px; width:100%; height:100px;">
            <table style="width:100%; font-size:12px">
                <tr>
                    <td class="headtd">
                        Invoice Settings
                    </td>
                </tr>
                 <tr>
                    <td>
                        <asp:CheckBox ID="chkSeparateDate" runat="server" Text="Saprate Effective Date in Purchase/Sales Invoice" />
                    </td>
                </tr>
                 <tr>
                    <td>
                        <asp:CheckBox ID="chkAllowZeroAmt" runat="server" Text="Allow Zero Amount in Purchase/Sales Invoice" />
                    </td>
                </tr>
            </table>
        </div> 
        <div style="clear:both;">&nbsp;</div>
	</div>
	    <div id="TValuation" class="my_tab">	  
	        <div style="margin:10px 0px 10px 0px">
		        <table style="font-size:12px" class="tablecontent">
		            <tr>
		                <td class="headtd">		               
		                    Valuation Method
		                </td>
		            </tr>
		            <tr>
		                <td>
                            <asp:RadioButton ID="radioFIFO" runat="server" Text=" First In First Out (FIFO)" GroupName="VM" />
		                </td>
    		           
		            </tr>
		            <tr>
		                <td>
		                   <asp:RadioButton ID="radioLIFO" runat="server" Text=" Last In First Out (LIFO)" GroupName="VM" />
		                </td>
    		            
		            </tr>
		            <tr>
		                <td>
		                    <asp:RadioButton ID="radioAverage" runat="server" Text=" Weighted Average" GroupName="VM" />
		                </td>
    		            
		            </tr>
		            <tr>
		                <td>
		                    <asp:RadioButton ID="radioActual" runat="server" Text=" Actual Cost" GroupName="VM"/>
		                </td>
    		            
		            </tr>		       		        
		        </table>
		    </div>
		   <%-- <div style="margin:10px 0px 0px 0px; text-align:right">
		        <a href="">Reprocess Stock Valuation </a>
		    </div>	--%>	
	    </div>  	
	    <div id="TPriceGroup" class="my_tab">	  
	        <div style="margin:10px 0px 10px 0px" class="tablecontent">
		        <table style="font-size:12px; width:100%">
		            <tr>
		                <td class="headtd">		               
		                    Price Group Sttings
		                </td>
		            </tr>
		            <tr>
		                <td>
                            <asp:RadioButton ID="radioNone" runat="server" Text="None" GroupName="PG" />
		                </td>
    		           
		            </tr>
		            <tr>
		                <td>
		                   <asp:RadioButton ID="radioDiscount" GroupName="PG" runat="server" Text="Define Discount for Price Group" />
		                </td>
    		            
		            </tr>
		            <tr>
		                <td>
		                    <asp:RadioButton ID="radioItemPricing" GroupName="PG" runat="server" Text="Define Item Pricing for Price Group" />
		                </td>
    		            
		            </tr>		        	       		        
		        </table>
		    </div>		   		
	    </div> 
	    <div id="TBatch" class="my_tab">
	        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
	                <div style="margin:10px 0px 10px 0px; font-size:12px">
	                    <asp:CheckBox ID="chkBatch" runat="server" Text="Enable Batches" AutoPostBack="true" oncheckedchanged="chkBatch_CheckedChanged" />
	                    <asp:Panel ID="panelBatch" Width="100%" runat="server">
		                    <table style="font-size:12px" class="tablecontent">
		                        <tr>
		                            <td class="headtd">		               
		                               Batch Settings
		                            </td>
		                        </tr>
		                        <tr>
		                            <td>
		                                <asp:CheckBox ID="chkExpiryDate" runat="server" Text="Set Expiry Dates" />
		                            </td>
                		           
		                        </tr>
		                        <tr>
		                            <td>
		                            <asp:CheckBox ID="chkWarranty" runat="server" Text="Set Warranty Details" />
		                            </td>
                		            
		                        </tr>
		                        <tr>
		                            <td>
		                            <asp:CheckBox ID="chkActualBatch" runat="server" Text="Use Actual Valuation Methods for Batched Items" />
		                            </td>
                		            
		                        </tr>	        		        
		                    </table>
		                </asp:Panel>
		            </div>	
		        </ContentTemplate>
            </asp:UpdatePanel>
	    </div> 
	    <div id="TGMethod" class="my_tab">
	        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
	                <div style="margin:10px 0px 10px 0px; height:140px; font-size:12px; width:100%" class="tablecontent">
		                <table style="font-size:12px; width:100%">
		                    <tr>
		                        <td class="headtd">		               
		                            Ledger Allocation Method
		                        </td>
		                    </tr>
		                    <tr>
		                        <td>
                                    <asp:RadioButton ID="radioAutomatic" runat="server" Text="Automatic" 
                                        GroupName="LAM" AutoPostBack="True" 
                                        oncheckedchanged="radioAutomatic_CheckedChanged" />
		                        </td>
            		           
		                    </tr>
		                    <tr>
		                        <td>
		                           <asp:RadioButton ID="radioManual" runat="server" Text="Manual" GroupName="LAM" 
                                        AutoPostBack="True" oncheckedchanged="radioManual_CheckedChanged" />
		                        </td>
            		            
		                    </tr> 	        
		                </table>		   
		                <div style="margin:20px 0px 0px 5px">
		                    <asp:Label ID="lblAutometic" runat="server" Text="Autometic allocation of transaction based on tax type to accounting ledger under Sales/Purchase groups ledgers will be created based on the selection bellow."></asp:Label>
		                    <asp:Label ID="lblManual" runat="server" Visible="false" Text="Manual allocation of transaction to accounting ledger with this option user have to select ledger in each transaction."></asp:Label>
		                </div>
		            </div>  
		            <asp:Panel ID="panelAllocation" runat="server" Width="520px">
		                <div style="float:left; width:250px" class="tablecontent">
		                    <table style="width:100%; font-size:12px">
		                         <tr>
		                            <td class="headtd">
		                                Sales Ledger Allocation
		                            </td>
		                        </tr>
		                        <tr>
		                            <td>
                                        <asp:RadioButton ID="radioSaleTax" runat="server" Text="Tax Wise" GroupName="SLA" />
		                            </td>
		                        </tr>
		                        <tr>
		                            <td>
		                                <asp:RadioButton ID="radioSaleItem" runat="server" Text="Item Wise" GroupName="SLA" />
		                            </td>
		                        </tr>
		                    </table>
		                </div>
		                <div style="float:left; margin-left:10px; width:250px" class="tablecontent">
		                    <table style="width:100%; font-size:12px">
		                         <tr>
		                            <td class="headtd">
		                                Purchase Ledger Allocation
		                            </td>
		                        </tr>
		                        <tr>
		                            <td>
                                        <asp:RadioButton ID="radioPurTax" runat="server" Text="Tax Wise" GroupName="PLA" />
		                            </td>
		                        </tr>
		                        <tr>
		                            <td>
		                                <asp:RadioButton ID="radioPurItem" runat="server" Text="Item Wise" GroupName="PLA" />
		                            </td>
		                        </tr>
		                    </table>		
		                </div>		
		                
		                <div style="clear:both;"></div>
		            </asp:Panel>
		        </ContentTemplate>
            </asp:UpdatePanel>	
        </div> 
	    <div id="TRoundOff" class="my_tab">	  
	        <div style="margin:10px 0px 10px 0px">
		        <table style="font-size:12px; width:100%" class="tablecontent">
	                <tr>
	                    <td class="headtd" style="width:50%; border-right:solid 1px #818181">		               
	                        Particulars
	                    </td>
	                     <td class="headtd">		               
	                        Round Off
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Value Added Tax (VAT)   
	                    </td>
	                    <td>
	                    <asp:DropDownList ID="ddlRoundVat" runat="server" Width="140px" CssClass="dropdown">
	                        <asp:ListItem Value="1" Text="Nearest Rupee"></asp:ListItem>
	                        <asp:ListItem Value="2" Text="Higher Rupee"></asp:ListItem>
	                        <asp:ListItem Value="3" Text="None"></asp:ListItem>	                        
	                    </asp:DropDownList>
	                    </td>
    		           
	                </tr>
	                <tr>
	                   <td>
                            Central Sales Tax 
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlRoundCST" runat="server" Width="140px" CssClass="dropdown">
	                        <asp:ListItem Value="1" Text="Nearest Rupee"></asp:ListItem>
	                        <asp:ListItem Value="2" Text="Higher Rupee"></asp:ListItem>
	                        <asp:ListItem Value="3" Text="None"></asp:ListItem>	                        
	                        </asp:DropDownList>                               
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Tax Collected at Source 
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlRoundTCS" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Nearest Rupee"></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Higher Rupee"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="None"></asp:ListItem>	                        
	                        </asp:DropDownList>
                           
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Amount Receivable  
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlRoundAmtRec" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Nearest Rupee"></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Higher Rupee"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="None"></asp:ListItem>	                        
	                        </asp:DropDownList>                         
	                    </td>
	                </tr>		       		        
		        </table>
		    </div>    		    	
	    </div>  
	    <div id="TCaption" class="my_tab">	  
	        <div style="margin:10px 0px 10px 0px">
		        <table style="font-size:12px; width:100%" class="tablecontent">
	                <tr>
	                    <td class="headtd" style="width:40%; border-right:solid 1px #818181">		               
	                        Heading
	                    </td>
	                     <td class="headtd" style="width:60%;">		               
	                        Caption
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Location  
	                    </td>
	                    <td>
                            <asp:TextBox ID="txtCaptionLocation" runat="server" Width="100%" CssClass="input" MaxLength="25"></asp:TextBox>     
	                    </td>
    		           
	                </tr>
	                <tr>
	                   <td>
                            Batch
	                    </td>
	                    <td>
                            <asp:TextBox ID="txtCaptionBatch" runat="server" Width="100%" CssClass="input" MaxLength="15"></asp:TextBox>         
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Sales Person 
	                    </td>
	                    <td>
                            <asp:TextBox ID="txtCaptionSales" runat="server" Width="100%" CssClass="input" MaxLength="25"></asp:TextBox>         
	                    </td>
	                </tr>        		        		       		        
		        </table>
		    </div> 	
	    </div> 
	    <div id="TAlert" class="my_tab">	  
	        <div style="margin:10px 0px 10px 0px">
		        <table style="font-size:12px; width:100%" class="tablecontent">
	                <tr>
	                    <td class="headtd" style="width:60%; border-right:solid 1px #818181">		               
	                        Alert On
	                    </td>
	                     <td class="headtd">		               
	                        Alert Settings
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Negative Stock   
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlAlertNegative" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Don't Allow" ></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Warning Only"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="No Action"></asp:ListItem>	                        
	                        </asp:DropDownList> 
	                    </td>
    		           
	                </tr>
	                <tr>
	                   <td>
                            Minimum Level 
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlAlertMinLevel" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Don't Allow" ></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Warning Only"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="No Action"></asp:ListItem>	                        
	                        </asp:DropDownList>                              
	                    </td>
	                </tr>
	                <tr>
	                   <td>
                            Reorder Level 
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlAlertReorderLevel" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Don't Allow" ></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Warning Only"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="No Action"></asp:ListItem>	                        
	                        </asp:DropDownList>
	                    </td>
	                </tr>
	                <tr>
	                   <td>
                            Maximum Level 
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlAlertMaxLevel" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Don't Allow" ></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Warning Only"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="No Action"></asp:ListItem>	                        
	                        </asp:DropDownList>                                
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Tax Invoice to party without TIN 
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlAlertTIN" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Don't Allow" ></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Warning Only"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="No Action"></asp:ListItem>	                        
	                        </asp:DropDownList>                                 
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            CST Invoice to a perty without CST  
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlAlertCST" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Don't Allow" ></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Warning Only"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="No Action"></asp:ListItem>	                        
	                        </asp:DropDownList>                                
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Don't allow expire batch to be used.  
                        </td>
	                    <td>
	                        <asp:DropDownList ID="ddlAlertBatch" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Don't Allow" ></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Warning Only"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="No Action"></asp:ListItem>	                        
	                        </asp:DropDownList>                                
	                    </td>
	                </tr>
	                <tr>
	                    <td>
                            Customer outstanding exeeding Credit Limit
	                    </td>
	                    <td>
	                        <asp:DropDownList ID="ddlAlertCredit" runat="server" Width="140px" CssClass="dropdown">
	                            <asp:ListItem Value="1" Text="Don't Allow" ></asp:ListItem>
	                            <asp:ListItem Value="2" Text="Warning Only"></asp:ListItem>
	                            <asp:ListItem Value="3" Text="No Action"></asp:ListItem>	                        
	                        </asp:DropDownList>                                
	                    </td>
	                </tr>		       		        
		        </table>
		    </div>
	    </div>
        <div id="TMaintain" class="my_tab">
            <div style="margin:10px 0px 10px 0px">
                <table class="tablecontent" style="font-size:12px; width:100%">
                    <tr>
                        <td class="headtd" style="width:60%; border-right:solid 1px #818181" colspan="2">Module</td>
                    </tr>
                    <tr>
                        <td><asp:CheckBox ID="chkaccount" runat="server" Text="Accounting" /></td>
                        <td>&nbsp;</td>
                    </tr>                    
                    <tr>
                        <td><asp:CheckBox ID="chkinvoicing" runat="server" Text="Invoicing" /></td>
                        <td>&nbsp;</td>
                    </tr>                    
                    <tr>
                        <td><asp:CheckBox ID="chkinventory" runat="server" Text="Inventory" /></td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div style="width:720px; font-size:12px; text-align:center">
        <asp:UpdatePanel ID="UpdatePanel4" runat="server">
            <ContentTemplate>            
                <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Save" onclick="btnSave_Click" />&nbsp;
                <asp:Button ID="btnClose" runat="server" CssClass="button" Text="Close" onclick="btnClose_Click" />
            </ContentTemplate>                            
        </asp:UpdatePanel>
    </div>
  </div>
 </form>
</body>
</html>